import request from '@/utils/request'

export function getGoodsList(params) {
  return request({
    url: '/goodsmng',
    method: 'get',
    params
  })
}

// 修改商品库存
export function updateGoodsList(data) {
  return request({
    url: `/goodsmng/${data.id}`,
    method: 'put',
    data
  })
}
